#ifndef COMPILER_ONLINE
#include "header.cpp"
#endif

void Test1()
{
    vector<int> v1 = {1,2,4,6,7,4,5};
    int max = Solution().Max(v1);
    if(max == 7)
    {
        std::cout << "测试用例1通过" << std::endl;
    }
    else{
        std::cout << "测试用例1未通过" << std::endl;
    }
}
void Test2()
{
    vector<int> v2 = {-1,-2,-4,-6,-7,-4,-5};
    int max = Solution().Max(v2);
    if(max == -1)
    {
        std::cout << "测试用例2通过" << std::endl;
    }
    else{
        std::cout << "测试用例2未通过" << std::endl;
    }
}

int main()
{
    Test1();
    Test2();
}